|
|
|
|
|
|
|
Just because the puzzles in this section are more advanced doesn't mean I can't sneak a simple one in now and again. |
|
|
|
|
|
|
|
|
Changing the declaration to the one shown in api32.txt (on the CD included with this book) is not enough to solve the problem. |
|
|
|
|
|
|
|
|
You may need more information than shown in the puzzle to figure this one outthat means going to the documentation for the function. |
|
|
|
|
|
|
|
|
See my book Visual Basic Programmer's Guide to the Win32 API, Chapter 12 (listing for the DocumentProperties function). |
|
|
|
|
|
|
|
|
See the Win32 SDK or MSDN, DocumentProperties reference. |
|
|
|
|
|
|
|
|
After you look at one or both of the above two references, read them again carefully! |
|
|
|
|
|
|
|
|
See Tutorial 4, "How DLL Calls Work: Inside a Stack Frame," in Part III of this book. |
|
|
|
|
|
|
|
|
See Tutorial 7, "Classes, Structures, and User-Defined Types," in Part III of this book. |
|
|
|
|
|
|
|
|
What happens when the first element of an array of structures is passed as a parameter to an API function? |
|
|
|
|
|
|
|
|
Don't forget the alignment rules. |
|
|
|
|
|
|
|
|
Did you know that Visual Basic supports conditional compilation? |
|
|
|
|
|
|
|
|
What happens when you assign a short string to a larger fixed-length string? |
|
|
|
|
|